@echo off
chcp 65001 >nul
echo ========================================
echo 收集编译后的文件信息
echo ========================================
echo.

echo [1] 主程序和 DLL 文件：
echo ----------------------------------------
if exist build\bin\Release (
    dir /b build\bin\Release\*.exe 2>nul
    echo.
    echo DLL 文件列表：
    dir /b build\bin\Release\*.dll 2>nul
) else (
    echo build\bin\Release 目录不存在
)
echo.

echo [2] Qt Platforms 插件：
echo ----------------------------------------
if exist build\bin\Release\platforms (
    dir /b build\bin\Release\platforms\*.dll 2>nul
) else (
    echo platforms 目录不存在
)
echo.

echo [3] Qt Styles 插件：
echo ----------------------------------------
if exist build\bin\Release\styles (
    dir /b build\bin\Release\styles\*.dll 2>nul
) else (
    echo styles 目录不存在
)
echo.

echo [4] Qt ImageFormats 插件：
echo ----------------------------------------
if exist build\bin\Release\imageformats (
    dir /b build\bin\Release\imageformats\*.dll 2>nul
) else (
    echo imageformats 目录不存在
)
echo.

echo [5] Qt 翻译文件：
echo ----------------------------------------
if exist build\bin\Release\translations (
    dir /b build\bin\Release\translations\*.qm 2>nul
) else (
    echo translations 目录不存在
)
echo.

echo [6] Poppler DLL 文件：
echo ----------------------------------------
if exist mingw64-poppler\bin (
    dir /b mingw64-poppler\bin\*.dll 2>nul
) else (
    echo mingw64-poppler\bin 目录不存在
)
echo.

echo [7] 检查编译输出目录结构：
echo ----------------------------------------
if exist build\bin\Release (
    echo 目录结构：
    tree /F build\bin\Release
) else (
    echo build\bin\Release 目录不存在
)
echo.

echo ========================================
echo 信息收集完成！
echo 请将上述输出内容复制给我。
echo ========================================
pause

